package com.avecsys.quotemanager.service.system;

import java.util.List;

import com.avecsys.quotemanager.exception.BusinessException;
import com.avecsys.quotemanager.pojos.CompanyMasterPojo;
import com.avecsys.quotemanager.pojos.SystemUsersPojo;
import com.avecsys.quotemanager.vo.SupplierVO;
import com.avecsys.quotemanager.vo.SystemUserVO;

public interface SystemUserService {

	/**
	 * 
	 * @return List<SystemUsersPojo>
	 * @throws BusinessException
	 */
	public abstract List<SystemUsersPojo> getAllUsers() throws BusinessException;
	
	/**
	 * Method to get the company master information
	 * 
	 * @return CompanyMasterPojo instance
	 * @throws BusinessException
	 */
	public CompanyMasterPojo getCompanyMasterForSystem() throws BusinessException;

	/**
	 * Method to verify the system email is not registered
	 * 
	 * @param SystemUserVO
	 * @param email
	 * @return boolean
	 * @throws BusinessException
	 */
	public boolean isSystemUserEmailNotRegistered(SystemUserVO systemUserVO)
			throws BusinessException;
	
}

